<html><head>
<meta content="text/html; charset=#FEED_ENCODING#" http-equiv="content-type">
<script language="javascript">
var lastSrc;
function ToggleDisplay(itemId) { new RssItem(itemId).ToggleExpanded(); }
function ToggleReadStatus(src, itemId) { new RssItem(itemId).ToggleReadStatus(src);}

function RssItem(elemId)
{
  var ReadText = "Read", UnreadText = "Unread", HideText = "Hide", ShowText = "More";
  var BodyDiv = document.getElementById("bpoditem" + elemId);
  var ToggleVisibilityLink = document.getElementById("tglvis" + elemId);
  var ToggleReadTopLink = document.getElementById("tglreadtop" + elemId);
  var ToggleReadBottomLink = document.getElementById("tglreadbtm" + elemId);
  var ItemTitleLink = document.getElementById("bpodItemTitle" + elemId);
  var ItemSequenceLink =  document.getElementById("bpnavlnk" + elemId);
  var ItemTitleDiv =  document.getElementById("bpoditmtitdiv" + elemId);
  
  this.Expand = Expand;
  this.Collapse = Collapse;
  this.ToggleExpanded = ToggleExpanded;
  this.MarkAsRead = MarkAsRead;
  this.MarkAsUnread = MarkAsUnread;
  this.ToggleReadStatus = ToggleReadStatus;
  
  function Expand()
  {
    if(lastSrc != null){lastSrc.accessKey = "";}
    
    ToggleVisibilityLink.innerText = HideText;
    BodyDiv.style.display = ""; 
    ToggleVisibilityLink.accessKey = "0"; 
    lastSrc = ToggleVisibilityLink;
  }
  
  function Collapse()
  {
    if(lastSrc != null){lastSrc.accessKey = "";}
    
    BodyDiv.style.display = "none";
    ToggleVisibilityLink.innerText = ShowText;
    ToggleVisibilityLink.accessKey = "0"; 
    lastSrc = ToggleVisibilityLink;
  }
  
  function ToggleExpanded()
  {
    if( BodyDiv.style.display == "none")
      Expand();
    else
      Collapse();
  }
  
  function MarkAsRead()
  {
      ToggleReadTopLink.innerText = ToggleReadTopLink.innerText.replace(ReadText,UnreadText);
      ToggleReadBottomLink.innerText = ToggleReadBottomLink.innerText.replace(ReadText,UnreadText);
      ItemTitleLink.style.color = "silver";
  }
  
  function MarkAsUnread()
  {
      ToggleReadTopLink.innerText = ToggleReadTopLink.innerText.replace(UnreadText,ReadText);
      ToggleReadBottomLink.innerText = ToggleReadBottomLink.innerText.replace(UnreadText,ReadText);
      ItemTitleLink.style.color = "#SYS_COLOR_A#";
  }
  
  function ToggleReadStatus(src)
  {
    if(ToggleReadTopLink.innerText.search(ReadText) >= 0 )
    {
      MarkAsRead();
      if(src == ToggleReadBottomLink)
      {
        window.scrollTo(0,ItemTitleDiv.offsetTop);
        ToggleReadTopLink.focus();
      }
      
      Collapse();
    }
    else
      MarkAsUnread()      
  }
}

var next;
var prev;
function OnLoad()
{
    var title = document.getElementById("FeedTitle")
    if(title != null)
        title.focus();
        
    next = document.getElementById("bpnl1");
    if(next != null)
    next.accessKey = "3";
}

function FocusNext(src)
{
  if(next != null) next.accessKey = "";
  if(prev != null) prev.accessKey = "";
  src.accessKey = "";
  
  var id = src.id.substring(4);
  var n = (1 * id) + 1;
  var p = (1 * id) - 1;
  
  next = document.getElementById("bpnl" + n)
  if(next != null) next.accessKey = "3"
  
  prev = document.getElementById("bpnl" + p)
  if(prev != null) prev.accessKey = "1"
}
</script>
<style type="text/css">
  .bpAction
  {
    color: Gray;
    font-size: 10pt;
    text-decoration: none;
    padding: 0 2px;
    border-bottom-style: dotted;
    border-bottom-width: 1px;
    border-bottom-color: #C0C0C0;
  }
  .bpItemAction
  {
    color: Gray;
    font-size:10pt;
    text-decoration: none;
    margin-left:4px;
    margin-right:4px;
    border-bottom-style: dotted;
    border-bottom-width: 1px;
    border-bottom-color: #C0C0C0;
  }
  
  .key
  {
    font-weight: bold;
  }
  .footer
  {
    color: DarkGray;
    font-size: 80%;
    background-color: #e4e4e4;
    padding: 5px 0 5px 0;
    clear: both;
    text-align: center;
  }
  .infoLink
  {
    text-decoration: none;
    color: DarkGray;
  }
  .itemTitle
  {
    padding: 1px;
    margin-top: 7px;
    margin-left: 1px;
    margin-right: 0px;
    margin-bottom:1px;
    border-bottom: solid 1px #SYS_COLOR_A#;
  }
  .iTitleLnk
  {
    color: #SYS_COLOR_A#;
    font-weight: bold;
    text-decoration: none;
  }
  .iPubDt
  {
    color: #SYS_COLOR_A#;
    font-size: 7pt;
    margin-right: 0px;
    text-align: right;
  }
  .dnLink
  {
    color: #SYS_COLOR_A#;
    margin-top: 5px;
    font-size: 80%;
    margin-left: 5px;
  }
  .iBody
  {
    margin-top: 5px;
    margin-left: 5px;
    margin-bottom: 5px;
  }
  .iTitleNum
  {
    text-decoration: none;
    font-size:70%;
    color:Silver;
  }
  
  .fTitle
  {
    color: #SYS_COLOR_A#;
    text-decoration: none;
    font-size: 120%;
    font-weight: bold;
  }
  
  .originatingFeedTitle
  {
    border: 1px solid #SYS_COLOR_A#;
    background-color: #CCCCCC;
    color: #SYS_COLOR_A#;
    padding:2px 5px 2px 5px;
    margin-top: 5px;
    width: 100%;
  }
  
</style>
</head>
<body bgcolor="AliceBlue" style="font-size:#DOCUMENT_FONT_SIZE#" onload="javascript:OnLoad()">
  <a id="top" name="top"/>
  #IS_OLD_MSG#
  #FEED_TEMPLATE# #FEED_ITEMS#
  <a id="bottom" name="bottom"/>
  <script language="javascript">
    
    var LastItemID = #LAST_ITEM_ID#; 
    prev = document.getElementById("bpnl" + LastItemID);
    if(prev != null) prev.accessKey = "1";
    
  </script>
  <div style="visibility:#SHOW_ALL_READ_ITEMS_VISIBILITY#;text-align: center; font-size: 80%; margin-top:5px;">
      <a class="bpAction"  href="BeyondPodShowAllReadItems">Show All Read Items</a>
  </div>
  <div style="visibility:#NEXT_PREV_FEED_VISIBILITY#">
  <table width="100%>" style="border-top:solid 1px silver; margin-top:5px;">
  <tr valign="middle">
  <td width="50%">
    <a accesskey="7" class="infoLink" href="BeyondPodShowPreviousFeed">&laquo Previous Feed</a>
  </td>
  <td width="50%" align="right">
    <a accesskey="9" class="infoLink" href="BeyondPodShowNextFeed">Next Feed &raquo</a>
  </td>
  </tr>
  </table>
  </div>
  <div class="footer" > 
     <a href="#top" accesskey="*" class="infoLink"><span class="key">*</span> Top</a> | 
     <a href="#bottom" accesskey="#" class="infoLink"><span class="key">#</span> Bottom</a> |
     <a href="../Help/ContentShortcuts.htm?BeyondPodPage" class="infoLink">More Shortcuts...</a>
  </div>
</body></html>
